<?php
// Config LOCAL
$hostname = "localhost";
$database = "webasert";
$username = "root";
$password ="";
//
//$hostname = "127.0.0.1:3306";
//$database = "demo";
//$username = "elias.badji";
//$password ="EliasB2012@csi";

//$hostname = "127.0.0.1:3306";
//$database = "webasert";
//$username = "elias.badji";
//$password ="EliasB2012@csi";

$conn = mysql_connect($hostname, $username, $password)  or die("Impossible de se connecter : " . mysql_error());
mysql_query("SET NAMES 'UTF-8'");
mysql_select_db($database) or die("pb connection : $conn");


//mysql_close($conn);

?>